<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2025/3/18
  Time: 15:38
  To change this template use File | Settings | File Templates.
--%>


public class Student {

private Integer num;

private String name;

public Student(Integer num, String name) {
this.num = num;
this.name = name;
}

public Integer getNum() {
return num;
}

public void setNum(Integer num) {
this.num = num;
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

@Override
public String toString() {
return "Student{" +
"num=" + num +
", name='" + name + '\'' +
'}';
}
}
